import request from '@/utils/request'

export function fetchList(query) {
    return request({
        url: '/core/coding/tmptAuthPosition/myPage',
        method: 'GET',
        params: query
    })
}


export function createApi(data) {
    return request({
        url: '/core/coding/tmptAuthPosition/create',
        method: 'POST',
        data
    })
}

export function updateApi(data) {
    return request({
        url: '/core/coding/tmptAuthPosition/update',
        method: 'POST',
        data
    })
}

export function deleteApi(params) {
    return request({
        url: '/core/coding/tmptAuthPosition/delete',
        method: 'POST',
        params
    })
}

